<template>
  <div>
    <h1>欢迎你{{this.userInfo.username}}</h1>
  </div>
</template>

<script>
  export default {
    name: "Home",

    computed: {
      userInfo() {
        return this.$store.state.userInfo;
      }
    }
  }
</script>

<style scoped>

</style>
